package com.ruoyi.hr.mapper.welfare.welfarebaseadjustment;

import com.ruoyi.hr.domain.Authority;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SocialSecurityBaseAdjustmentMapper {
    public String executeProcedure(@Param("sql") String sql);
    public List<Map<String,Object>> findData(@Param("map") Map<String, Object> map,@Param("authorities") List<Authority> authorities,@Param("isAdmin") int isAdmin);
    public Map<String,Object> findDataById(String id);
    public int updateSocialSecurityBase(Map map);
    /**
     * 根据id取出人名
     */
    public Map<String,Object> findNameById(String id);

    /**
     * 有没有值
     * @param map
     * @return
     */
    public int findCountXvalue(Map map);

    public int insertXvalue(Map map);
    public int updateXvalue(Map map);

}
